package progress;

public class ForEachThread implements Runnable {
    @Override
    public void run() {
        System.out.println("当前线程："+Thread.currentThread().getName());
        for (int i=0;i<5;i++){
            System.out.println(i);
        }
    }
}
